package com.raorao.config.dao.repository;

import com.raorao.config.dao.pojo.ConfigInfo;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author raorao
 * @version 1.0
 * @description: 文件
 * @date 2021/11/26 15:28
 */
public interface ConfigInfoRepository extends JpaRepository<ConfigInfo,Integer> {
    List<ConfigInfo> queryByFileIdAndIsDelete(Integer id,Boolean isDelete);
    ConfigInfo queryById(Integer id);

    ConfigInfo queryByIdAndIsDelete(Integer id, boolean b);
}
